//
//  ProductCellButton.h
//  jang
//
//  Created by lee han on 08/04/2017.
//  Copyright © 2017 lee han. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "network.h"

@protocol ProductCellButtonDelegate <NSObject>

@required
- (void)onClickProductCellButton:(NSInteger)pid;

@optional
- (void)onDeleteCollection:(NSInteger)pid;

@end

@interface ProductCellButton : UIView<networkDelegate>

@property NSInteger mProductID;
@property id<ProductCellButtonDelegate> mDelegate;

@property (weak, nonatomic) IBOutlet UILabel *mName;
@property (weak, nonatomic) IBOutlet UIImageView *mImage;
@property (weak, nonatomic) IBOutlet UILabel *mPrice;
@property (weak, nonatomic) IBOutlet UIButton *mButton;

@end
